
package com.lottery.dao;

import java.util.List;

import com.lottery.dao.Dao;
import com.lottery.model.Lottery539;

public interface Lottery539Dao extends Dao {

    /**
     * Retrieves all of the lottery539s
     */
    public List getLottery539s(Lottery539 lottery539);

    /**
     * Gets lottery539's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the lottery539's id
     * @return lottery539 populated lottery539 object
     */
    public Lottery539 getLottery539(final Long id);

    /**
     * Saves a lottery539's information
     * @param lottery539 the object to be saved
     */    
    public void saveLottery539(Lottery539 lottery539);

    /**
     * Removes a lottery539 from the database by id
     * @param id the lottery539's id
     */
    public void removeLottery539(final Long id);
}

